<include file="inc:header" />
<div class="page" id='{$data.act}'>
<?php
	$this->_var['back_url'] = wap_url("index","licai_uc_buyed_lc#index");
	$this->_var['back_page'] = "#licai_uc_buyed_lc";
	$this->_var['back_epage'] = $_REQUEST['epage']=="" ? "#licai_uc_buyed_lc" : "#".$_REQUEST['epage'];
?>
    <include file="inc:title" />
<div class="content">
<!-- 这里是页面内容区 -->
<!--购买的理财产品详情-->
<div class="lc_head">
    <div class="content_list">
        <span class="f_red"><em>{$data.vo.licai_all_redempte_format}</em></span>
        <span>已赎回总额</span>
    </div>
    <div class="content_list">
        <span><em>{$data.vo.licai_total_count}</em>个</span>
        <span>赎回申请</span>
    </div>
    <div class="content_list">
        <span><em>{$data.vo.licai_ing_money_format}</em></span>
        <span>处理中</span>
    </div>
    <div class="content_list">
    <span><em>{$data.vo.total_earn_money_format}</em></span>
        <span>累计收益</span>
    </div>
<div class="blank"></div>
</div>

<div class="blank15"></div>
<div class="mainblok mainborder">

    <div class="detail_list">
    <ul>
        
        <li class="record_tit">
          <div class="f_l">{function name="msubstr" v=$data.vo.name b=0 e=32}</div>
          <div class="f_r">
            <span>理财期限</span>
            {$data.vo.time_limit}个月
          </div>
          <div class="f_r">
            收益率
            <span>{$data.vo.average_income_rate_format}</span>
          </div>
          
        </li>
    </ul>
    </div>
</div><!--mainblok——end--> 
<div class="invest">
    <!--mainborder开始-->  
<if condition="$data.list">
<foreach from="$data.list" item="item" key="key" name="deal">
    <div class="blok_10 mainborder">
        <div class="invest_tit Headerbackground">
            <span class="sub_name">{$item.name|msubstr}</span>
        </div>
        <div class="index_content">
            <ul class="two_column">
                <li>
                    <label>赎回本金</label>
                    <span>{$item.money_format}</span>
                </li>
                <li>
                    <label>收益金额</label>
                    <span class="f_red">{$item.earn_money_format}<em> 元</em></span>
                </li>
                <li>
                    <label>手续费</label>
                    <span>{$item.fee_format}</span>
                </li>
                <li>
                    <label>到账金额</label>
                    <span>{$item.real_money_format}</span>
                </li>
                <li>
                    <label>类型</label>
                    <span>{$item.type_format}</span>
                </li>
                <li>
                    <label>状态</label>
                    <span>
                    	{$item.status_format}
						<if condition="$item.status == 0">
						    <input type="hidden" name="id" id="id" value="{$data.id}" /> 
							<input type="hidden" name="redempte_id_{$item.id}" id="redempte_id_{$item.id}" value="{$item.id}" />  
							 
							&nbsp;&nbsp;<a href="#" id="submita_{$item.id}" rel='{$item.id}' class="c_3b95d3 s_cancel">取消 </a>
                        </if>
					</span>
                </li>
                <li style=" width:100%;">
                    <label>申请/到账时间</label>
                    <span>
                        <if condition="$item.update_date">
                            <span> {$item.update_date}</span>
                        <else/>
                            <span> {$item.create_date}</span>
                        </if>
                    </span>
                </li>
            </ul>
            <div class="blank0"></div>
            <div class="bor_d"></div>
            
        </div>
        <div class="blank"></div>    
        </div><!--mainborder结束-->
  </foreach>

<else/>
    <div style="text-align: center;width:100%;line-height:60px;">无任何记录</div>
</if>       
    </div>
<input type="hidden" value="{:U('licaiucbuyeddealcancel/index'}" id='ajax_url'/>
<input type="hidden" value="{:U('licaiucbuyeddeallc/index'}" id='url_str'/>
    <include file="inc:footer" />